package cn.sdhuijin.vms.websocket;

import javax.servlet.http.HttpServletRequest;

import org.apache.catalina.websocket.StreamInbound;
import org.apache.catalina.websocket.WebSocketServlet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@SuppressWarnings("deprecation")
public class MyWebSocketServlet extends WebSocketServlet {
	private static final long serialVersionUID = 1L;
	final Logger logger = LoggerFactory.getLogger("websocket");

	protected StreamInbound createWebSocketInbound(String subProtocol,
			HttpServletRequest request) {
		return new MyMessageInbound();
	}
}